package com.woniuxy.dao;

import com.woniuxy.entity.ExamResult;
import com.woniuxy.entity.PaperObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentExamDao {
    /*查询选择题*/
    List<PaperObject> findSingleSelectTopic(Integer paperId);
    /*查询多选题*/
    List<PaperObject> findDoubleSelectTopic(Integer paperId);
    /*查询判断题*/
    List<PaperObject> findJudgeTopic(Integer paperId);
    /*查询填空题*/
    List<PaperObject> findFillTopic(Integer paperId);
    /*查询简答题*/
    List<PaperObject> findAnswerTopic(Integer paperId);

    int setAnswerScore(ExamResult examResult);
    /*设置状态根据id*/
    int setExamStatus(@Param("einformationId") int einformationId, @Param("examPublishExamId") int examPublishExamId);
}
